//
// Created by Administrator on 2020/7/16 0016.
//

#include "Book.h"

Book::Book(int mNBookId, const string &mStrBookName, const string &mStrAuthor, const string &mStrIsbn,
           const string &mStrPub, const string &mInDate, int mNTotalNum, int mNLeftNum) : m_nBookID(mNBookId),
                                                                                         m_nTotalNum(mNTotalNum),
                                                                                          m_nLeftNum(mNLeftNum)
{}

int Book::getMNBookId() const
{
    return m_nBookID;
}

void Book::setMNBookId(int mNBookId)
{
    m_nBookID = mNBookId;
}

const string &Book::getMStrBookName() const
{
    return m_strBookName;
}

void Book::setMStrBookName(const string &mStrBookName)
{
    m_strBookName = mStrBookName;
}

const string &Book::getMStrAuthor() const
{
    return m_strAuthor;
}

void Book::setMStrAuthor(const string &mStrAuthor)
{
    m_strAuthor = mStrAuthor;
}

const string &Book::getMStrIsbn() const
{
    return m_strISBN;
}

void Book::setMStrIsbn(const string &mStrIsbn)
{
    m_strISBN = mStrIsbn;
}

const string &Book::getMStrPub() const
{
    return m_strPub;
}

void Book::setMStrPub(const string &mStrPub)
{
    m_strPub = mStrPub;
}

const string &Book::getMInDate() const
{
    return m_inDate;
}

void Book::setMInDate(const string &mInDate)
{
    m_inDate = mInDate;
}

int Book::getMNTotalNum() const
{
    return m_nTotalNum;
}

void Book::setMNTotalNum(int mNTotalNum)
{
    m_nTotalNum = mNTotalNum;
}

int Book::getMNLeftNum() const
{
    return m_nLeftNum;
}

void Book::setMNLeftNum(int mNLeftNum)
{
    m_nLeftNum = mNLeftNum;
}

Book::Book()
{

}
